all:
	go build
3a:
	go test -run 3A | tee 3a.txt
3b:
	go test -run 3B | tee 3b.txt
3c:
	go test -run 3C | tee 3c.txt
3d:
	go test -run 3D | tee 3d.txt
3b1:
	go test -run TestBasicAgree3B | tee 3b1.txt
3b2:
	go test -run TestRPCBytes3B | tee 3b2.txt
3b3:
	go test -run TestFollowerFailure3B | tee 3b3.txt
3b4:
	go test -run TestLeaderFailure3B | tee 3b4.txt
3b5:
	go test -run TestFailAgree3B | tee 3b5.txt
3b6:
	go test -run TestFailNoAgree3B | tee 3b6.txt
3b7:
	go test -run TestConcurrentStarts3B | tee 3b7.txt
3b8:
	go test -run TestRejoin3B | tee 3b8.txt
3b9:
	go test -run TestBackup3B | tee 3b9.txt
3b0:
	go test -run TestCount3B | tee 3b0.txt

3c1:
	go test -run TestPersist13C | tee 3c1.txt
3c2:
	go test -run TestPersist23C | tee 3c2.txt
3c3:
	go test -run TestPersist33C | tee 3c3.txt
3c4:
	go test -run TestFigure83C | tee 3c4.txt
3c5:
	go test -run TestUnreliableAgree3C | tee 3c5.txt
3c6:
	go test -run TestFigure8Unreliable3C | tee 3c6.txt
3c7:
	go test -run TestReliableChurn3C | tee 3c7.txt
3c8:
	go test -run TestUnreliableChurn3C| tee 3c8.txt

3d1:
	go test -run TestSnapshotBasic3D | tee 3d1.txt
3d2:
	go test -run TestSnapshotInstall3D | tee 3d2.txt
3d3:
	go test -run TestSnapshotInstallUnreliable3D | tee 3d3.txt
3d4:
	go test -run TestSnapshotInstallCrash3D | tee 3d4.txt
3d5:
	go test -run TestSnapshotInstallUnCrash3D | tee 3d5.txt
3d6:
	go test -run TestSnapshotAllCrash3D | tee 3d6.txt
3d7:
	go test -run TestSnapshotInit3D | tee 3d7.txt

re:
	go test -run TestReElection3A | tee re.txt

clean:
	rm -f *.txt


